package com.hk.blog.domain;

import com.hk.core.data.jpa.domain.AbstractSnowflakeAuditable;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 角色信息
 */
@Data
@Entity
@Table(name = "T_ROLE")
@EqualsAndHashCode(callSuper = true)
public class Role extends AbstractSnowflakeAuditable {

    @Column(name = "role_code", nullable = false)
    private String roleCode;

    private String roleName;

}
